package com.sun.dailyprj.androidx.data_binding.bean;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

/*
 * =====================================================================================
 * Summary:
 *
 * File: DataBindingUser.java
 * Author: Yanpeng.Sun
 * Create: 2019/5/10 10:27
 * =====================================================================================
 */
public class DataBindingUser extends BaseObservable{
    private String name;
    private String sex;

    @Bindable
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    @Bindable
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "DataBindingUser{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
